//CHECKSTYLE:OFF

package com.ractoc.opengamefinder.api.translators;

/**
 * Class to translate between two beans.
 * @author Mark Schrijver
 * @version 1.0
 */
public final class TranslateChatCreateRoomNetworkMessageToChatCreateRoomMessage implements com.ractoc.opengamefinder.api.translators.Translator {

    /**
     * Constructor.
     */
    public TranslateChatCreateRoomNetworkMessageToChatCreateRoomMessage() {
    }

    /**
     * Translation method. Translates com.ractoc.opengamefinder.api.messages.network.ChatCreateRoomNetworkMessage
     * into com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage.
     * @param beanInParam bean to translate.
     * @return translated parameter.
     */
    public Object translate(final Object beanInParam) {
        final com.ractoc.opengamefinder.api.messages.network.ChatCreateRoomNetworkMessage beanIn =
                (com.ractoc.opengamefinder.api.messages.network.ChatCreateRoomNetworkMessage) beanInParam;
        final com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage beanOut =
                new com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage();
        beanOut.setRoomId(beanIn.getRoomId());
        return beanOut;
    }

//====Missing in com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage
//

//====Missing in com.ractoc.opengamefinder.api.messages.network.ChatCreateRoomNetworkMessage
//getDestinationPlugin has no setter in com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage
//getOriginPlugin has no setter in com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage
//getErrorCode has no setter in com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage
//getClass has no setter in com.ractoc.opengamefinder.api.messages.ChatCreateRoomMessage
//

}
//CHECKSTYLE:ON

